﻿using EPOS.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace EPOS.Controllers
{
    public class BaseController : Controller
    {
        //
        // GET: /Base/
        ePosDataContext epos = new ePosDataContext();
        protected override void Initialize(System.Web.Routing.RequestContext requestContext)
        {
           
            ViewBag.kategoriler = epos.kategorilers.ToList();
            ViewBag.subkategoriler = epos.altkategorilers.ToList();
            base.Initialize(requestContext);



        }

    }
}
